export const Events = {
  // Vue组件
  'cesium-viewer': [
    'selectedEntityChanged',
    'trackedEntityChanged'
  ],
  'cesium-3dtileset': [
    'allTilesLoaded',
    'initialTilesLoaded',
    'loadProgress',
    'tileFailed',
    'tileLoad',
    'tileUnload',
    'tileVisible'
  ],
  'imagery-layer-events': [
    'errorEvent'
  ],
  'entity-events': [
    'definitionChanged'
  ],
  'viewer-mouse-events': [
    `LEFT_CLICK`,
    `LEFT_DOUBLE_CLICK`,
    `LEFT_DOWN`,
    `LEFT_UP`,
    `MIDDLE_CLICK`,
    `MIDDLE_DOWN`,
    `MIDDLE_UP`,
    `MOUSE_MOVE`,
    `PINCH_END`,
    `PINCH_MOVE`,
    `PINCH_START`,
    `RIGHT_CLICK`,
    `RIGHT_DOWN`,
    `RIGHT_UP`,
    `WHEEL`
  ],
  'viewer-children-events': [
    {
      // viewer.imageryLayers
      'name': 'imageryLayers',
      'events': [
        'layerAdded',
        'layerMoved',
        'layerRemoved',
        'layerShownOrHidden'
      ]
    }, {
      // viewer.dataSources
      'name': 'dataSources',
      'events': [
        'dataSourceAdded',
        'dataSourceMoved',
        'dataSourceRemoved'
      ]
    }, {
      // viewer.entities
      'name': 'entities',
      'events': [
        'collectionChanged'
      ]
    }, {
      // viewer.scene
      'name': 'scene',
      'events': [
        'morphComplete',
        'morphStart',
        'postRender',
        'postUpdate',
        'preRender',
        'preUpdate',
        'renderError',
        'terrainProviderChanged'
      ]
    }, {
      // viewer.camera
      'name': 'camera',
      'events': [
        'changed',
        'moveEnd',
        'moveStart'
      ]
    }, {
      // viewer.clock
      'name': 'clock',
      'events': [
        'onStop',
        'onTick'
      ]
    }, {
      // viewer.terrainProvider
      'name': 'terrainProvider',
      'events': [
        'errorEvent'
      ]
    }
  ]
}
